package com.example.base.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.system.domain.SysJobRecord;
import com.example.base.system.domain.vo.SysJobRecordVo;

import java.io.Serializable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2024-02-20
 */
public interface SysJobRecordService extends IService<SysJobRecord> {

    public SysJobRecord saveSysJobRecord(SysJobRecord sysjobrecord) throws GlobalExcetion;

    public SysJobRecord updateSysJobRecordById(SysJobRecord sysjobrecord) throws GlobalExcetion;

    public SysJobRecord saveOrUpdateSysJobRecord(SysJobRecordVo sysjobrecordVo) throws GlobalExcetion;

    public IPage<SysJobRecord> page(Serializable id,Integer pageNum,Integer pageSize);
}
